import './index.scss'
import MonthCalendar from './MonthCalendar.tsx'
import Header from './Header.tsx'
import {Dayjs} from 'dayjs'

export interface CalendarProps{
    value:Dayjs;
}

function Calendar(props:CalendarProps) {
    return (
        <div className="calendar">
            <Header/>
            <MonthCalendar {...props}/>
        </div>
    )
}
export default Calendar